package com.guijq.selfcode.javase;

/**
 * @author yangjf
 * @time 2019-06-18 11:52
 */
public class Test99 {
    public final int a = 1;

    public final void test() {
        System.out.println("nothing");
    }

    public final void test(int a ) {
        System.out.println(a);
    }

    public static void main(String[] args) {
        Test99 test99 =new Test99();
        test99.test();
        test99.test(1);

        int a = 1;
        String s = "test";
        switch (s){
            case "test":
                System.out.println(s);
                break;
                default:
                    System.out.println("no");
        }

        try {
            System.out.println("test try");
        } finally {
            System.out.println("test finally");
        }

    }
}
